//
// Created by 86176 on 2021/11/26.
//

#include "IdleStatus.h"


IdleStatus::IdleStatus(int64_t time) {
    lastWriteTime = time;
    lastReadTime = time;
    readIdle = false;
    writeIdle = false;
    bothIdle = false;
}

IdleStatus::~IdleStatus(){

}

void IdleStatus::CheckReadTime(int64_t time) {
    lastReadTime = time;
}

void IdleStatus::CheckWriteTime(int64_t time) {
    lastWriteTime = time;
}